
package com.helloSpringBoot.dao;


import com.helloSpringBoot.po.helloPo;
import org.springframework.data.jpa.repository.JpaRepository;

import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface helloDao extends JpaRepository<helloPo, String> {

    @Query(value = "select htmlstr from  html  order by createDate desc limit 1", nativeQuery = true)
    String findLastHtmlStr();

}